package com.neusoft.crm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 * 
 * </p>
 *
 * @author lplpok
 * @since 2023-06-20
 */
public class Chance implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "chanceno", type = IdType.AUTO)
    private Integer chanceno;

    private String title;

    private Integer customerno;

    private Integer productno;

    private String type;

    /**
     * 确立原因
     */
    private String background;

    /**
     * 目的
     */
    private String purpose;

    private Integer probability;

    private String activity;

    private String state;

    private String info;

    private LocalDate ft;

    private LocalDate bt;

    private Integer service;

    private Integer controller;

    private Integer provider;

    public Integer getChanceno() {
        return chanceno;
    }

    public void setChanceno(Integer chanceno) {
        this.chanceno = chanceno;
    }
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
    public Integer getCustomerno() {
        return customerno;
    }

    public void setCustomerno(Integer customerno) {
        this.customerno = customerno;
    }
    public Integer getProductno() {
        return productno;
    }

    public void setProductno(Integer productno) {
        this.productno = productno;
    }
    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
    public String getBackground() {
        return background;
    }

    public void setBackground(String background) {
        this.background = background;
    }
    public String getPurpose() {
        return purpose;
    }

    public void setPurpose(String purpose) {
        this.purpose = purpose;
    }
    public Integer getProbability() {
        return probability;
    }

    public void setProbability(Integer probability) {
        this.probability = probability;
    }
    public String getActivity() {
        return activity;
    }

    public void setActivity(String activity) {
        this.activity = activity;
    }
    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }
    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }
    public LocalDate getFt() {
        return ft;
    }

    public void setFt(LocalDate ft) {
        this.ft = ft;
    }
    public LocalDate getBt() {
        return bt;
    }

    public void setBt(LocalDate bt) {
        this.bt = bt;
    }
    public Integer getService() {
        return service;
    }

    public void setService(Integer service) {
        this.service = service;
    }
    public Integer getController() {
        return controller;
    }

    public void setController(Integer controller) {
        this.controller = controller;
    }
    public Integer getProvider() {
        return provider;
    }

    public void setProvider(Integer provider) {
        this.provider = provider;
    }

    @Override
    public String toString() {
        return "Chance{" +
            "chanceno=" + chanceno +
            ", title=" + title +
            ", customerno=" + customerno +
            ", productno=" + productno +
            ", type=" + type +
            ", background=" + background +
            ", purpose=" + purpose +
            ", probability=" + probability +
            ", activity=" + activity +
            ", state=" + state +
            ", info=" + info +
            ", ft=" + ft +
            ", bt=" + bt +
            ", service=" + service +
            ", controller=" + controller +
            ", provider=" + provider +
        "}";
    }
}
